package com.gengzp.common.model.serviceGovernance.resp;

import com.gengzp.common.model.generic.resp.GenericResp;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * @ClassName PageServiceGovernanceResp
 * @Description 分页查询服务实例返回实体
 * @Author gengzp
 * @Date 2025/10/14 11:14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "分页查询服务实例返回实体")
public class PageServiceGovernanceResp extends GenericResp {

    @Serial
    private static final long serialVersionUID = 5428996835222651318L;

    /**
     * 服务名称
     */
    @ApiModelProperty(value = "服务名称")
    private String serviceName;

    /**
     * 服务标题
     */
    @ApiModelProperty(value = "服务标题")
    private String serviceTitle;

    /**
     * 服务描述
     */
    @ApiModelProperty(value = "服务描述")
    private String serviceDescription;

    /**
     * 前后端类型
     * {@link com.gengzp.common.enums.ServiceFrontBackTypeEnum}
     */
    @ApiModelProperty(value = "前端后端类型")
    private Integer frontBackType;

    /**
     * 前后端类型枚举值
     */
    @ApiModelProperty(value = "前端后端类型枚举值")
    private String frontBackTypeValue;

    /**
     * 项目管理员id
     */
    @ApiModelProperty(value = "项目管理员id")
    private String projectManager;

    /**
     * 项目管理员昵称
     */
    @ApiModelProperty(value = "项目管理员昵称")
    private String projectManagerNickname;

    /**
     * 健康实例数
     */
    @ApiModelProperty(value = "健康实例数")
    private Integer healthyInstanceCount;

}
